/**
 * 
 */
package com.game.request;

import com.game.biz.GameBiz;
import com.game.biz.GameBizMap;
/**
 * 
 * @author lushouzhi
 * 
 */
public class RequestFactory {
	
	
	public static BaseRequest create(byte gameType,byte cmd){
		GameBiz gameBiz=GameBizMap.lookup(gameType);
		if(gameBiz==null){
			return null;
		}
		BaseRequest request=gameBiz.create(cmd);
		return request;
	}
}
